package com.hzhc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hzhc.entity.SysWxRole;
import com.hzhc.vo.SysWxRoleVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 微信小程序角色管理 Mapper 接口
 * </p>
 *
 * @author 功不唐捐
 * @since 2023-11-07
 */
public interface SysWxRoleMapper extends BaseMapper<SysWxRole> {
    IPage<SysWxRole> selectWxRoleJsonPage(Page<SysWxRole> page, SysWxRoleVo vo);

    List<Long> selectRoleMenuList(@Param("wxRoelId") Long wxRoelId);
}
